<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>
</head>
<body>
    <div id="login_container">

    </div>

    <script>
        var obj = new WxLogin({
            self_redirect:false,
            id:"login_container",
            appid: "{{ $config['appid'] }}",
            scope: "{{ $config['scope'] }}",
            redirect_uri: "{{ $config['redirect_uri'] }}",
            state: "{{ $config['state'] }}",
            style: "",
            href: ""
        });
    </script>
</body>
</html>